SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 40573: EFI, Export Wizard, and Proc Export truncate labels at 32 characters

DetailsAboutRate It

Beginning in SAS 9.2, EFI, the EXPORT WIZARD, and PROC EXPORT allow you to write out variable labels instead of variable names when creating a comma, tab or delimited external file. However, the labels are limited to 32 characters. The limit will be increased in a future release of SAS.

A circumvention at this time if your labels are greater than 32 characters and you are creating a comma delimited file would be to use ODS CSV statement with PROC PRINT.

Here is an example of using the ODS CSV statement to create a comma delimited file with labels instead of variable names:

   ods csv file='c:\testlabels.csv';
     proc print data=abc label noobs;
     run;
   ods csv close;
 



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M09.3 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M09.3 TS1M0
Microsoft® Windows® for x649.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M09.3 TS1M0
Microsoft Windows XP Professional9.2 TS1M09.3 TS1M0
Windows Vista9.2 TS1M09.3 TS1M0
Windows Vista for x649.2 TS1M09.3 TS1M0
64-bit Enabled AIX9.2 TS1M09.3 TS1M0
64-bit Enabled HP-UX9.2 TS1M09.3 TS1M0
64-bit Enabled Solaris9.2 TS1M09.3 TS1M0
HP-UX IPF9.2 TS1M09.3 TS1M0
Linux9.2 TS1M09.3 TS1M0
Linux for x649.2 TS1M09.3 TS1M0
OpenVMS on HP Integrity9.2 TS1M09.3 TS1M0
Solaris for x649.2 TS1M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.